package com.leyuan.printer.entry;

import java.io.Serializable;
import java.util.List;

/**
 * Created by user on 2017/4/17.
 */
public class PrintResult2 implements Serializable {


    /**
     * code : 1
     * msg :
     * data : [{"print":1,"title":"爱动健身","item":[{"name":"课程名称","value":"3.3 3.30测试"},{"name":"门　　店","value":"乐坊"},{"name":"上课教室","value":"单车课程教室"},{"name":"上课时间","value":"2018年08月20日 11:45"},{"name":"打印时间","value":"2018-08-17 17:27:07"},{"name":"核 销 码","value":"20180817520680"},{"name":"上课人数","value":"1"},{"name":"实付金额","value":"0.01"},{"name":"会员姓名","value":"游客"}]},{"print":1,"title":"[客户联]爱动健身","item":[{"name":"课程名称","value":"3.3 3.30测试"},{"name":"门　　店","value":"乐坊"},{"name":"上课教室","value":"单车课程教室"},{"name":"上课时间","value":"2018年08月20日 11:45"},{"name":"打印时间","value":"2018-08-17 17:27:07"},{"name":"核 销 码","value":"20180817520680"},{"name":"上课人数","value":"1"},{"name":"实付金额","value":"0.01"},{"name":"会员姓名","value":"游客"}]}]
     */

    public int code;
    public String msg;
    public List<DataBean> data;

    public static class DataBean implements Serializable {
        /**
         * print : 1
         * title : 爱动健身
         * item : [{"name":"课程名称","value":"3.3 3.30测试"},{"name":"门　　店","value":"乐坊"},{"name":"上课教室","value":"单车课程教室"},{"name":"上课时间","value":"2018年08月20日 11:45"},{"name":"打印时间","value":"2018-08-17 17:27:07"},{"name":"核 销 码","value":"20180817520680"},{"name":"上课人数","value":"1"},{"name":"实付金额","value":"0.01"},{"name":"会员姓名","value":"游客"}]
         */

        public int print;
        public String title;
        public List<ItemBean> item;

        public static class ItemBean implements Serializable{
            /**
             * name : 课程名称
             * value : 3.3 3.30测试
             */

            public String name;
            public String value;
        }
    }
}
